﻿@model List<KhatVongViet.Models.Article>
<div class="div_content_large_ver2" style="height: 470px; width: 693px; padding-left: 10px;">
    <div class="div_CXV_content_main_large_ver2">
        <a href="">
            <img src="../../Content/images/camxucviet.jpg" alt="../../Content/images/camxucviet.jpg" /></a>
        <div class="box_CXV_title_main_article_ver2">
            @Html.ActionLink("Confession #" + Model[0].ID,
                                 "Detail", "Confession", new { idConfession = Model[0].ID }, new { @class = "title_mini_link_ver2" })
        </div>
        <div class="box_CXV_sub_main_article_ver2">
            <p>@Model[0].DateCreate</p>
        </div>
        <div class="box_CXV_tomtat_main_article_ver2">
            @if (@Model[0].Context.Length > 255)
            {

                <p>@Model[0].Context.Substring(0, 255)...</p>
            }
            else
            {

                <p>@Model[0].Context</p>
            }
        </div>
        <div class="box-camxucviet-addnewconf">
            <a href="/Confession/Create" class="titlelink">&lt;&lt;Your Confession</a>
        </div>
    </div>
    <div class="div_CXV_content_main_large_2_ver2">
        <div class="box_CXV_main_mini_article_ver2">
            <a href="#">
                <img src="../../Content/images/confession-image.png" alt="../../Content/images/confession-image.png" /></a>
            <div class="box_CXV_title_mini_article_ver2">
                @Html.ActionLink("Confession #" + Model[1].ID,
                                 "Detail", "Confession", new { idConfession = Model[1].ID }, new { @class = "title_mini_link_ver2" })
            </div>
            <div class="box_sub_mini_article_ver2">
                <p>@Model[1].DateCreate</p>
            </div>
        </div>
        <div class="box_CXV_main_mini_article_ver2">
            <a href="#">
                <img src="../../Content/images/camxucviet1.jpg" alt="../../Content/images/camxucviet1.jpg" /></a>
            <div class="box_CXV_title_mini_article_ver2">
                @Html.ActionLink("Confession #" + Model[2].ID,
                                 "Detail", "Confession", new { idConfession = Model[2].ID }, new { @class = "title_mini_link_ver2" })
            </div>
            <div class="box_sub_mini_article_ver2">
                <p>@Model[2].DateCreate</p>
            </div>
        </div>
        <div class="box_CXV_main_mini_article_ver2">
            <a href="#">
                <img src="../../Content/images/camxucviet3.jpg" alt="../../Content/images/camxucviet3.jpg" /></a>
            <div class="box_CXV_title_mini_article_ver2">
                @Html.ActionLink("Confession #" + Model[3].ID,
                                 "Detail", "Confession", new { idConfession = Model[3].ID }, new { @class = "title_mini_link_ver2" })
            </div>
            <div class="box_sub_mini_article_ver2">
                <p>@Model[3].DateCreate</p>
            </div>
        </div>
        <div class="box_CXV_main_mini_article_ver2">
            <a href="#">
                <img src="../../Content/images/camxucviet4.jpg" alt="../../Content/images/camxucviet4.jpg" /></a>
            <div class="box_CXV_title_mini_article_ver2">
                @Html.ActionLink("Confession #" + Model[4].ID,
                                 "Detail", "Confession", new { idConfession = Model[4].ID }, new { @class = "title_mini_link_ver2" })
            </div>
            <div class="box_sub_mini_article_ver2">
                <p>@Model[4].DateCreate</p>
            </div>
        </div>
        <div class="box_CXV_main_mini_article_ver2">
            <a href="#">
                <img src="../../Content/images/camxucviet5.jpg" alt="../../Content/images/camxucviet5.jpg" /></a>
            <div class="box_CXV_title_mini_article_ver2">
                @Html.ActionLink("Confession #" + Model[5].ID,
                                 "Detail", "Confession", new { idConfession = Model[5].ID }, new { @class = "title_mini_link_ver2" })
            </div>
            <div class="box_sub_mini_article_ver2">
                <p>@Model[5].DateCreate</p>
            </div>
        </div>
    </div>
</div>
